package com.example.demo.entity;

import javax.persistence.Column;

public abstract class AbstractPospMessage {
    /**
     * 终端的流水号，配合devSn必需是唯一的
     */
    @Column
    private String transNo;

    /**
     * 设备SN
     */
    @Column
    private String devSn;
//
//    /**
//     * 交易卡号
//     */
//    @Column
//    private String cardNo;

    /**
     * 卡号的二磁数据
     */
    @Column
    private String track2Data;

    /**
     * 卡号的密码
     */
    @Column
    private String password;

    /**
     * 账号，或者代替账号的token
     */
    @Column
    private String accountToken;

    /**
     * 默认使用
     */
    @Column
    private String tokenType;

    public String getTransNo() {
        return transNo;
    }

    public void setTransNo(String transNo) {
        this.transNo = transNo;
    }

    public String getDevSn() {
        return devSn;
    }

    public void setDevSn(String devSn) {
        this.devSn = devSn;
    }

    public String getTrack2Data() {
        return track2Data;
    }

    public void setTrack2Data(String track2Data) {
        this.track2Data = track2Data;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
//
//    public String getCardNo() {
//        return cardNo;
//    }
//
//    public void setCardNo(String cardNo) {
//        this.cardNo = cardNo;
//    }

    public String getAccountToken() {
        return accountToken;
    }

    public void setAccountToken(String accountToken) {
        this.accountToken = accountToken;
    }

    public String getTokenType() {
        return tokenType;
    }

    public void setTokenType(String tokenType) {
        this.tokenType = tokenType;
    }
}
